package gjset.gui.framework;

import javax.swing.JPanel;

/* 
 *  LEGAL STUFF
 * 
 *  This file is part of Combo Cards!
 *  
 *  Combo Cards is Copyright 2008-2010 Artless Entertainment
 *  
 *  The Set Game, card design, and other elements of Set of the Set Game are
 *  registered trademarks of Set Enterprises. 
 *  
 *  This project is in no way affiliated with Set Enterprises, 
 *  but the authors of Combo Cards are very grateful for
 *  them creating such an excellent card game.
 *  
 *  Combo Cards is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *   
 *  Combo Cards is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details
 *   
 *  You should have received a copy of the GNU General Public License
 *  along with Combo Cards.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * A page represents a more or less full screen interface that will be dropped onto the screen.
 * Pages can be managed and swapped as needed to display themselves.
 */
@SuppressWarnings("serial")
public abstract class Page extends JPanel
{
	
	public Page()
	{
		super();
		
		// Turn off the automatic layout system.
		setLayout(null);
		setOpaque(false);
	}
	
	/**
	 *
	 * Called when the page is destroyed to remove any listeners
	 * it may have created.
	 *
	 */
	public void destroy()
	{
	}
}
